///////////////////////////////////////////////////////////////////////////////
// Name:        wxAutoComboBox.h
// Purpose:     wxAutoComboBox class declaration.
// Author:      Guru Kathiresan
// Modified by: Ville Lindell
// Created:     03/24/2006
// Copyright:   (c) Guru Kathiresan
// Licence:     BSD licence
///////////////////////////////////////////////////////////////////////////////

#pragma once

#include "../../ColligereAutoCompleteControlBase.hpp"

class wxAutoComboBox : public wxComboBox,
	public col::AutoCompleteControlBase
{
public:
	wxAutoComboBox ( wxWindow *pParent, wxWindowID id, 
		const wxString &rValue = wxEmptyString, 
		const wxPoint &rPos = wxDefaultPosition, 
		const wxSize &rSize = wxDefaultSize, wxInt32 n = 0, 
		const wxString *pChoices = 0, long style = 0, 
		const wxValidator &rValidator = wxDefaultValidator, 
		const wxString &rName = "AutoComboBox" );
	wxAutoComboBox();

	virtual ~wxAutoComboBox() { }
private:
	void OnKeyUp ( wxKeyEvent &rEvent );
	
	DECLARE_DYNAMIC_CLASS ( wxAutoComboBox )
};
 